package com.whmskj.xjlhbc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whmskj.xjlhbc.domain.Sckt;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ScktMapper extends BaseMapper<Sckt> {

    @Select("select * from xjbc.bckt where xtimestamp in (select max(xtimestamp) from xjbc.bckt)")
    List<Sckt> select();
}
